package com.randao.framework.model.domain.entity;

/**
 * @Author： ~Mr·Weng~
 * @CreateTime： 2019年-04月-17日  0:04
 * Look at the wine in the glass toast the rich first.
 */

public class Result {

    private boolean success; //是否成功
    private String message; //返回信息

    public Result(boolean success, String message) {
        super();
        this.success = success;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
